/**
 * xiongsha
 * 头部
 * 2020-05-23
*/

import React, { ReactNode } from 'react';
import { NavBar } from 'antd-mobile';

interface IHeader {
    children: ReactNode
}

const Header = (props: IHeader) => {
    return (<NavBar
        mode="dark"
    >{props.children}</NavBar>)
}

export default Header;